
package com.zhitan.ems.app.patrol.wrapper;
import com.zhitan.ems.app.patrol.entity.PatrolTrackLogEntity;
import com.zhitan.ems.app.patrol.vo.PatrolTrackLogVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;

  /**
 * 巡检轨迹多点 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2024-11-02 14:05:23
 */
public class PatrolTrackLogWrapper extends BaseEntityWrapper<PatrolTrackLogEntity, PatrolTrackLogVO>  {
    public static PatrolTrackLogWrapper build() {
        return new PatrolTrackLogWrapper();
    }
	@Override
	public PatrolTrackLogVO entityVO(PatrolTrackLogEntity patrolTrackLog) {
		if(patrolTrackLog==null) {
			return null;
		}
		PatrolTrackLogVO patrolTrackLogVO = BeanUtil.copy(patrolTrackLog, PatrolTrackLogVO.class);
		return patrolTrackLogVO;
	}

}
